<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" th:href="@{/favicon.ico}" type="image/x-icon" />
    <link rel="stylesheet" th:href="@{/css/app.css}">
    <title>Blog</title>
</head>
<style>
    .content{
        position: absolute;
        right: 30%;
        left: 30%;
        top: 30%;
        height: 50%;
        width: 40%;
        background-color: #fff;
        border-radius: 8px;
    }
    .content h1{
        text-align: center;
        padding: 20px;
        font-size: 20px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    }
    .content-input{
        height: 20%;
        width: 100%;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .content-input span{
        height: 100%;
        font-size: 16px;
        padding: 10px;
        text-align: center;
    }
</style>
<body>
    <div class="headBar">
        <div class="headBar-items">
            <div class="headBar-item">
                <a th:href="@{/}">主页</a>
            </div>
        </div>
    </div>
    <div class="content">
        <h1>问就是后门</h1>
        <form th:action="@{/login}" method="post">
            <div class="content-input">
                <span>账号</span>
                <span>:</span>
                <input type="text" name="username">
            </div>
            <div class="content-input">
                <span>密码</span>
                <span>:</span>
                <input type="password" name="password">
            </div>
            <div class="content-input">
                <button type="submit">login</button>
            </div>
        </form>
    </div>
</body>
</html>